package org.softee.concurrent;

import java.io.Closeable;

public interface ResultListener <T> extends Closeable {
    void accept(T result) throws Exception;
    void close();
    void notifyFailure(Throwable t);
}
